<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>webAR中草药扫描</title>
    <style>
        /* 通用样式 */
        body,
        html {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            font-family: 'Arial', sans-serif;
            background: #0d0d0d;
            overflow: hidden;
        }

        .container {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .hero {
            color: #ffffff;
            position: relative;
            z-index: 2;
        }

        .hero h1 {
            font-size: 2.5em;
            margin-bottom: 20px;
            animation: fadeIn 2s ease-in-out;
        }

        .hero p {
            font-size: 1.2em;
            margin-bottom: 30px;
            animation: fadeIn 2.5s ease-in-out;
        }

        .entry-button {
            display: inline-block;
            padding: 15px 30px;
            font-size: 1em;
            color: #fff;
            background: linear-gradient(45deg, #ff6ec4, #7873f5, #60c9ff, #32ffc6);
            background-size: 400% 400%;
            border: none;
            border-radius: 5px;
            text-decoration: none;
            cursor: pointer;
            box-shadow: 0 0 20px #ff6ec4, 0 0 40px #7873f5, 0 0 60px #60c9ff;
            animation: gradientAnimation 15s ease infinite, pulse 1.5s infinite;
            transition: background 0.3s, transform 0.3s;
        }

        .entry-button:hover {
            transform: scale(1.1);
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }

            to {
                opacity: 1;
            }
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 20px #ff6ec4, 0 0 40px #7873f5, 0 0 60px #60c9ff;
            }

            50% {
                box-shadow: 0 0 30px #ff6ec4, 0 0 60px #7873f5, 0 0 90px #60c9ff;
            }

            100% {
                box-shadow: 0 0 20px #ff6ec4, 0 0 40px #7873f5, 0 0 60px #60c9ff;
            }
        }

        @keyframes gradientAnimation {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }

        /* 背景动画 */
        body::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(270deg, #ff6ec4, #7873f5, #60c9ff, #32ffc6);
            background-size: 800% 800%;
            animation: gradientAnimation 15s ease infinite;
            z-index: 0;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2em;
            }

            .hero p {
                font-size: 1em;
            }

            .entry-button {
                padding: 10px 20px;
                font-size: 0.9em;
            }
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="hero">
            <h1>欢迎来到中草药的AR世界</h1>
            <p>探索科技和中草药的无限可能</p>
            <a href="./scan_main/image-tracking/scan.html" class="entry-button">打开AR</a>
        </div>
    </div>
</body>

</html>

